export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/p50ruan/gm813x/crosstool/toolchain_gnueabi-4.4.0_ARMv5TE/usr/lib
export PATH=$PATH:/home/p50ruan/gm813x/crosstool/toolchain_gnueabi-4.4.0_ARMv5TE/usr/bin
CUR_PATH=$(pwd)
LIB_8136_PATH=${CUR_PATH}/../libs_8136
CC=arm-unknown-linux-uclibcgnueabi-gcc \
CXX=arm-unknown-linux-uclibcgnueabi-g++ \
AR=arm-unknown-linux-uclibcgnueabi-ar \
LD=arm-unknown-linux-uclibcgnueabi-ld \
AS=arm-unknown-linux-uclibcgnueabi-as \
./configure \
--prefix=${LIB_8136_PATH} \
--host=arm-unknown-linux-uclibcgnueabi \
--build=i386-linux \
CFLAGS=" -g -O3 -I${LIB_8136_PATH}/include" \
LIBS=" -ldl -L${LIB_8136_PATH}/lib" \
CPPFLAGS=" -g -I${LIB_8136_PATH}/include" \
MINIGUI_CFLAGS=" -I${LIB_8136_PATH}/include/minigui" \
MINIGUI_LIBS=" -L${LIB_8136_PATH}/lib -lminigui_ths -lpng -ljpeg -lfreetype -lm -lz -lpthread"

